import Vue from 'vue'
import {
  Select,
  Option,
  Loading,
  MessageBox,
  Message,
  Dialog,
  Button,
  Dropdown,
  DropdownItem,
  DropdownMenu,
  Carousel,
  CarouselItem,
  Radio,
  RadioGroup,
  RadioButton,
  Pagination,
  Image,
  Table,
  TableColumn,
  Tooltip,
  Notification
} from 'element-ui'

Vue.use(Select)
Vue.use(Option)
Vue.use(Button)
Vue.use(Dialog)
Vue.use(Dropdown)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Carousel)
Vue.use(CarouselItem)
Vue.use(Radio)
Vue.use(RadioGroup)
Vue.use(RadioButton)
Vue.use(Pagination)
Vue.use(Image)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Tooltip)
Vue.prototype.$loading = Loading.service
Vue.prototype.$msgbox = MessageBox
Vue.prototype.$alert = MessageBox.alert
Vue.prototype.$confirm = MessageBox.confirm
Vue.prototype.$prompt = MessageBox.prompt
Vue.prototype.$message = Message
Vue.prototype.$notify = Notification
Vue.prototype.$ELEMENT = { size: 'small', zIndex: 3000 }
